package com.hotel.mapper;

import com.hotel.pojo.Room;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomMapper {
    List<Room> getAll();

    void addRoom(Room room);

    Room selectRoomById(int id);

    void updateRoom(Room room);

    void deleteRoomById(int id);

    List<Room> selectRoomByName(String selectRoomName);
}
